package com.njtoyo.taxi.admin.rest.wrapper.business.customer;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.library.common.Enum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "欠款乘客列表 wrapper")
public class CustomerArrearsQueryWrapper extends Page<CustomerArrearsQueryWrapper> {

    public CustomerArrearsQueryWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "类型，默认为all")
    private Enum.CustomerArrearsCategory category = Enum.CustomerArrearsCategory.all;

    private List<Long> customerRegionIds;

    @ApiModelProperty(value = "区域ID集合")
    private List<Long> areaIds ;
}

